economy Class Reference

List of all members.

Public Member Functions

void create_economy (void)
void loop ()
void display_money (void)
void set_money (int new_money)

Public Attributes

int money
char money_string
int display
int net


Detailed Description

economy contains the variable that stores the ammount of money the player currently has and prints it to thescreen. The player starts with 1000 units of money. economy also displays ammount money spent buildind units.

Member Function Documentation

void economy::create_economy ( void   )  [inline]

void economy::display_money ( void   )  [inline]

print the current money to screen

void economy::loop (  )  [inline]

prints out the economy variables

void economy::set_money ( int  new_money  )  [inline]

set the money variable and indicated when money subtracted


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Thu Apr 30 10:32:57 2009 for Metal vs Magic by  doxygen 1.5.8